package com.jcfk.eam.domain.po.main;

import com.baomidou.mybatisplus.annotation.Version;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jcfk.common.business.entity.BaseEntity;
import lombok.Data;
import java.util.Date;
/**
 * 发放记录
 *
 * @author yql
 * @email 522891237@gqq.com
 * @date 2024-07-29
 */
@Data
@TableName("eam_grant_record")
public class EamGrantRecord extends BaseEntity {

    private static final long serialVersionUID=1L;
            
    /**
     * 单据号
     */
    @TableField("record_code")
    private String recordCode;
        
    /**
     * 原始凭证号
     */
    @TableField("original_voucher_no")
    private String originalVoucherNo;
        
    /**
     * 资产大类
     */
    @TableField("asset_kind")
    private Integer assetKind;
        
    /**
     * 发放原因
     */
    @TableField("grant_reason")
    private String grantReason;
        
    /**
     * 发放日期
     */
    @TableField("grant_date")
    private Date grantDate;
        
    /**
     * 发放人主键
     */
    @TableField("grant_person_id")
    private String grantPersonId;
        
    /**
     * 发放人
     */
    @TableField("grant_person_name")
    private String grantPersonName;

    /**
     * 发放类型
     */
    @TableField("grant_person_type")
    private Integer grantPersonType;

    /**
     * 使用部门主键
     */
    @TableField("receive_department_id")
    private String receiveDepartmentId;
        
    /**
     * 使用部门
     */
    @TableField("receive_department_name")
    private String receiveDepartmentName;
        
    /**
     * 领用人主键
     */
    @TableField("receive_person_id")
    private String receivePersonId;
        
    /**
     * 领用人
     */
    @TableField("receive_person_name")
    private String receivePersonName;
        
    /**
     * 是否审核
     */
    @TableField("is_audit")
    private Integer isAudit;
        
    /**
     * 备注
     */
    @TableField("remarks")
    private String remarks;
        
    /**
     * 是否删除
     */
    @TableField("deleted")
    private Integer deleted;
        
    /**
     * 组织机构主键
     */
    @TableField("organization_id")
    private String organizationId;
                
    /**
     * 创建人
     */
    @TableField("created_user_name")
    private String createdUserName;
                
    /**
     * 更新人
     */
    @TableField("last_updated_user_name")
    private String lastUpdatedUserName;
    
    @Version
    @TableField(value = "version")
    private Long version;
}
